package com.sqf.soft.dao;


import com.sqf.soft.entity.Statement;
import com.sqf.soft.utils.PageBean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IStatementDao {

    List<Statement> findStatementByPage(PageBean pageBean) throws Exception;

    int findAmountByPage(PageBean pageBean) throws Exception;

    int createStatement(Statement statement) throws Exception;

    int updateStatement(Statement statement) throws Exception;

    int deleteStatement(Statement statement) throws Exception;
}
